﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WMS6.QueryEntity;


namespace WMS6.SQLServerDAL.ExtendFunction
{
    public static class ExtendClass
    {
        public static string ExtendPageSize(this InitGridviewQueryEntity initGridviewQueryEntity)
        {
            if (String.IsNullOrEmpty(initGridviewQueryEntity.PageSize))
                return "20";
            return initGridviewQueryEntity.PageSize;
        }
    }
}
